<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的动态 - <?php echo $cfg_webname; ?></title>
<link href="templets/style/css/reset.css" rel="stylesheet" type="text/css">
<link href="templets/style/css/member.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="templets/js/j.js"></script>
<script type="text/javascript" src="templets/js/load.js"></script>
<script type="text/javascript" src="templets/js/leftmenu.js"></script>
<script type="text/javascript" language='javascript' src="templets/js/main.js"></script>
<script type="text/javascript" src="templets/js/checkSubmit.js"></script>
</head>
<body>

<!--head-->
<?php include(DEDEMEMBER. "/templets/head.htm"); ?>

<div class="main">

<?php include(DEDEMEMBER."/templets/menu.php"); ?> 

<div class="main_right">

<div class="common_title">我的动态</div>
<div class="fanhui"><a href="javascript:history.go(-1);"><span>返回消息列表</span></a></div>
<div class="znxx_content">
<h6>短消息内容</h6>
<dl><dt>标题：</dt>
<dd><?php echo $row['subject']; ?> <span>[<a href="pm.php?dopost=send&id=<?php echo $row['id']; ?>" style="color:#2ca9cc;">回复</a>]</span></dd>
</dl>
<dl><dt>内容：</dt>
<dd> <?php echo text2html($row['message']); ?></dd>
</dl>
<dl><dt>其他：</dt>
<dd>
  <?php 
  $lxlx = $row['lxlx'];
  $contesfs = $row['contesfs'];
  if($contesfs!=''){
	echo "联系$lxlx [$contesfs]";
  }
  ?>
  <?php 
  $pid = $row['id'];
  $type = $row['type'];
  $txcl = $row['txcl'];
  $txid = $row['txid'];
  $rzid = $row['rzid'];
  $rzcl = $row['rzcl'];
  if($type=='1'){
	if($txcl==0){
	  $txmsg = "<span style='color:red;margin-right:10px;'>提现未处理</span><a href='pm.php?dopost=txcl&txid=".$txid."' title='已经处理过的提现，请点击此链接' onclick=\"javascript:return confirm('提现是否真的已处理？');\">已处理？</a>";
	}else{
	  $txmsg = "提现已处理";
	}
  }else if($type=='4'){
	 if($rzcl==0){
	  $txmsg = "<span style='color:red;margin-right:10px;'>认证未审核</span><a href='rzlist.php?dopost=read&id=".$rzid."&pid=".$pid."'>查看详情 >></a>";
	}else{
	  $txmsg = "认证已处理 <a href='rzlist.php?dopost=read&id=".$rzid."&pid=".$pid."'>查看详情 >";
	}
  }
  echo "$txmsg";
  ?>
</dd>
</dl>
</div>

</div>

</div>

<!--footer-->
<?php include(DEDEMEMBER. "/templets/footer.htm"); ?>

<script>
	//会员升级
	var typeid = document.querySelector('#typeid');
	var divs = document.querySelectorAll('.hysj_jiage li div');
	for(var i=0,len=divs.length;i<len;i++){
		divs[i].onclick = divCLickHandler;
	}
	function divCLickHandler(e){
		for(var i=0,len=divs.length;i<len;i++){
			divs[i].className = '';
		}
		this.className = 'cur';
		typeid.value = this.getAttribute('_typeid');
	}
</script>
<script>
	//左边导航
	var as = document.querySelectorAll('.left_menu a');
	var spans = document.querySelectorAll('.left_menu .icons');
	for(var i=0,len=as.length;i<len;i++){
		
		spans[i].clazz = spans[i].className;
		as[i].index = i;
		as[i].onmouseenter = mouseenterHandler;
		as[i].onmouseleave = mouseleaseHandler;
	}
	function mouseenterHandler(e){
		if(!/_h$/.test(spans[this.index].clazz)){
			spans[this.index].className = spans[this.index].clazz + '_h';
		}
	}
	function mouseleaseHandler(e){
		spans[this.index].className = spans[this.index].clazz;
	}
	
	//左右等高布局
	var main_left = document.querySelector('.main_left');
	var main_right = document.querySelector('.main_right');
	if(main_left.offsetHeight<main_right.offsetHeight){
		main_left.style.height = main_right.offsetHeight + 'px';
	}
</script>

</body>
</html>